package co.com.javeriana.aes.oms.ejb.user.service;

import co.com.javeriana.aes.oms.common.entity.Customer;
import co.com.javeriana.aes.oms.ejb.user.dto.User;
import javax.ejb.Local;

/**
 *
 * @author Jonathan Fernandez <jonathan.fvargas@gmail.com>
 */
@Local
public interface UserServiceBeanLocal {

    public Customer getCustomer(int customerID) throws Exception;
    //public void createCustomer(Customer customer) throws Exception;
    public boolean validateUser(String email, String password) throws Exception;

    public Integer createCustomer(User user) throws Exception;

    public Customer getCustomerByEmail(String email) throws Exception;
    
}
